gdk: Remove GdkEventType argument from GdkEvent union
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 11 Oct 2017 13:55:19 +0000 (15:55 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 13 Dec 2017 23:58:32 +0000 (00:58 +0100)
commit64decbfd7415f0e634743949ae6e0a52b46452fe
tree58e8e6d0d323ee865f66def35eaecb44fa1605b8
parentb9db0b55cb68985185feff891146beef6456c427
gdk: Remove GdkEventType argument from GdkEvent union

It won't stand true anymore that the GdkEventType argument is the
first field of the GdkEvent* structs. All callers have been updated
to use event->any.type instead.
12 files changed:
gdk/gdkdnd.c
gdk/gdkevents.c
gdk/gdkeventsprivate.h
gdk/gdkwindow.c
gdk/wayland/gdkdevice-wayland.c
gdk/wayland/gdkwindow-wayland.c
gdk/x11/gdkdevicemanager-core-x11.c
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkeventsource.c
gdk/x11/gdkwindow-x11.c
gtk/gtkmain.c
gtk/gtkwidget.c